<admintpl file="header" />
<!--[if lt IE 10]>
    <p class="chromeframe">您使用的浏览器过于老旧，请使用最新版本的chome浏览器，否则可能会出现错误 <a href="http://sw.bos.baidu.com/sw-search-sp/software/e80aba170ee7c/ChromeStandalone_62.0.3202.94_Setup.exe">下载Chome-谷歌浏览器</a></p>
<![endif]-->
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:U('AdminSale/add',array('id'=>empty($item['id'])?'':$item['id']))}" target="_self">卡片消费</a></li>
			<li class="active"><a href="javascript:;" target="_self">消费账单</a></li>
		</ul>
			<div class="row-fluid">
				<div class="span9">
					<table class="table table-bordered">
						<tr>
							<th>流水号</th>
                            <td>
                                <span>{$sale_data.number}</span>
                            </td>
						</tr>
						<tr>
							<th>卡号</th>
                            <td>
                                <span>{$sale_data.card_number}</span>
                            </td>
						</tr>
                        <tr>
                            <th>所属机构</th>
                            <td>
                                <span>{$sale.sale_name}</span>
                            </td>
                        </tr>
						<tr>
							<th>消费条目</th>
							<td>
                                <span>{$sale_data.goods_name}</span>
							</td>
						</tr>
						<tr>
							<th>商品单价</th>
							<td>
                                <span>{$sale_data.goods_price}</span>
							</td>
						</tr>
                        <tr>
                            <th>商品数量</th>
                            <td>
                                <span>{$sale_data.goods_num}</span>
                            </td>
                        </tr>

						<tr>
							<th>消费金额</th>
							<td>
                                <span>{$sale_data.price}</span>
							</td>
						</tr>
                        <tr>
                            <th>消费描述</th>
                            <td>
                                <span>{$sale_data.desc}</span>
                            </td>
                        </tr>
                        <tr>
                            <th>消费时间</th>
                            <td>
                                <span>{:date("Y-m-d H:i:s",$sale_data['create_time'])}</span>
                            </td>
                        </tr>
                    </table>
				</div>

			</div>
			<div class="form-actions">
				<button class="btn btn-primary js-ajax-submit" type="submit">打印小票</button>
				<a class="btn" href="{:U('AdminSale/add')}">返回</a>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	</body>
</html>